<%@ page contentType="text/html; charset=utf-8" language="java" errorPage="" import="com.scs.model.*,java.util.List"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>查看历史生产信息</title>
     <link href="../css/table.css" rel="stylesheet" type="text/css" />
     <link href="../css/font.css" rel="stylesheet" type="text/css"/>
<%--     <style type="text/css">--%>
<%--      td{ --%>
<%--    border-collapse:collapse; --%>
<%--    border: solid 00aaff; --%>
<%--    border-width:1px 0px 0px 1px; --%>
<%--    border-color: 00aaff  --%>
<%--  }--%>
<%----%>
<%-- table{ --%>
<%--    border-collapse:collapse; --%>
<%--    border: solid #00aaff;--%>
<%--    border-width:1px 1px 1px 1px;--%>
<%--    border-color: #00aaff --%>
<%--    }--%>
<%--     --%>
<%--     </style>--%>
</head>
<body>
  <table width="95%" border="1" cellspacing="0" cellpadding="2" align="center">
    <tr>
      <td colspan="5" align="center" class="style2" height="35">查看生产信息</td>
    </tr>
  <tr>
    <td width="10%" class="style1">周期</td>
    <td width="17%"  align="left" class="style1">产品名称</td>
    <td width="16%" class="style1">生产数量</td>
    <td width="19%" class="style1">生产成本</td>
    <td width="17%" class="style1">入库时间</td>
    </tr>
  <s:if test="#request.bills.size==0">
  <tr>
  	 <td colspan="5" align="center" class="style1">您当前无生产信息</td>
  	 </tr>
  </s:if>  
  <s:else>
 <s:iterator value="#request.bills" var="b">
  <tr>
    <td class="style1"><s:property value="#b.currentime.currentime"/></td>
    <td align="left" class="style2">Macbook</td>
    <td class="style2"><s:property value="#b.countp1"/></td>
    <td class="style2"><s:property value="#b.p1price"/>
      元</td>
    <td class="style2"><s:property value="#b.receivetime"/></td>
  </tr>
  
  
  <tr>
    <td class="style1"><s:property value="#b.currentime.currentime"/></td>
    <td align="left" class="style2">Iphone</td>
    <td class="style2"><s:property value="#b.countp2"/></td>
    <td class="style2"><s:property value="#b.p2price"/>
      元</td>
    <td class="style2"><s:property value="#b.receivetime"/></td>
  </tr>
  
  
  <tr>
    <td class="style1"><s:property value="#b.currentime.currentime"/></td>
    <td align="left" class="style2">Ipad</td>
    <td class="style2"><s:property value="#b.countp3"/></td>
    <td class="style2"><s:property value="#b.p3price"/>
      元</td>
    <td class="style2"><s:property value="#b.receivetime"/></td>
  </tr>
  
  </s:iterator>
  </s:else>
</table>

</body>
</html>